#include<stdio.h>
#include<sys/types.h>
#include<unistd.h>


int main()
{
  pid_t ret = fork();
  while(1)
  {
    printf("hello world!\n");
    printf("pid = %d\n",getpid());
    printf("ppid = %d\n",getppid());
    sleep(3);
  }

  return 0;
}
